]> dgit.raspbian.org Git - gnome-shell.git/commit
windowManager: Update stacking during workspace switches
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 17 Dec 2014 21:57:44 +0000 (22:57 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 19 Dec 2014 10:39:50 +0000 (11:39 +0100)
commit0257a23c31244774a7dddec356cd98b85cb2a2a2
treeba9d95e782e1720900a68aa7eda110504f23405c
parente0eebc90e024481a60d41fdd36606a9ff1bb3b8d
windowManager: Update stacking during workspace switches

When animating workspace switches, windows on the old and new workspaces
are temporarily reparented. If windows are restacked, those windows will
thus be ignored by mutter until meta_switch_workspace_completed() resyncs
the stacking at the end of the animation.
As a result, activating a window on another workspace that is not on top
of the stack is very noticeably a two-step operation of switching workspace
and raising the window. There is a technical reason for that order[0], but
we can avoid the visible disruption by manually syncing the stack during
the switch operation.

[0] https://git.gnome.org/browse/mutter/tree/src/core/workspace.c#n590

https://bugzilla.gnome.org/show_bug.cgi?id=741680
js/ui/windowManager.js